package sharedspace;

public class Student extends User implements interfacep.Student {
	
	/**
	 * Student Entity
	 * @author G3
	 */
	private static final long serialVersionUID = 1L;
	public static int NUM_OF_COLUMNS = 2;
	private float studentAvg;
	
	public Student(){
		super();
	
	}
	public Student(User user){
		this.setUserID(user.getUserID());
		this.setUserLastName(user.getUserLastName());
		this.setUserFirstName(user.getUserFirstName());
		this.setUserPassword(user.getUserPassword());
		this.setUserLogged(user.getUserLogged());
		this.setUserPermission(user.getUserPermission());
		this.setUserStatus(user.getUserStatus());
		
	}

	public float getStudentAvg() {
		return studentAvg;
	}

	public void setStudentAvg(float studentAvg) {
		this.studentAvg = studentAvg;
	}
	
	

}
